#pragma once

#include <QtWidgets/QMainWindow>
#include "ui_CWatchDog.h"
#include <qprocess.h>

class CWatchDog : public QMainWindow
{
    Q_OBJECT
private slots:
    void OnReStart(int exitCode, QProcess::ExitStatus exitStatus);
public:
    CWatchDog(QWidget *parent = nullptr);
    ~CWatchDog();
protected:
    void OnInitDialog();
private:
    Ui::CWatchDogClass ui;
    QProcess m_watch_dog;
};
